import {createBrowserRouter} from 'react-router-dom'
import Home from '../pages/tabs/home'
import Order from '../pages/tabs/order'
import My from '../pages/tabs/my'
import App from '../App'
const router=createBrowserRouter([
    {
        path:'/',
        element:<App/>,
        children:[
            {
                path:'home',
                element:<Home/>
            },
            {
                path:'order',
                element:<Order/>
            },
            {
                path:'my',
                element:<My/>
            }
        ]
    }
])

export default router